package com.lzw.mall.common.service;

import com.lzw.mall.common.vo.ResultVO;
import com.lzw.mall.common.entity.MemberAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lizhenwei
 * @since 2023-04-07
 */
public interface IMemberAddressService extends IService<MemberAddress> {

    List<MemberAddress> selectByMemberId(Integer id);

    void delMemberAddress(Integer id, Integer id1);

    void updataMemberAddressDefaultAddr(Integer id);

    List<MemberAddress> selectMemberAddress();

    ResultVO selMemberAddress(Integer id);

    void updataMemberAddressById(MemberAddress memberAddress);
}
